<?php 

function p($data)
{
    echo "<pre>" . print_r($data, true) . "</pre>";
}

function arr_merge($arr)
{
    $re = array();

    foreach ($arr as $v) {
        array_push($re, array_values($v)[0]);
    }

    return $re;
}

 ?>